package cn.dankal.basiclib.pojo;

import java.io.Serializable;
import java.util.List;

public class ShopCarEntity implements Serializable {
    private String uuid;
    private String userUuid;
    private String itemUuid;
    private int itemCount;
    private String productName;
    private String imgUrl;
    private double discountedPrice;
    private int canUseScore;
    private int stock;
    private String state;
    private double realPrice;
    private List<ProductAttrEntity> attrList;

    public void setState(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public List<ProductAttrEntity> getAttrList() {
        return attrList;
    }

    public void setAttrList(List<ProductAttrEntity> attrList) {
        this.attrList = attrList;
    }

    public double getRealPrice() {
        return realPrice;
    }

    public void setRealPrice(double realPrice) {
        this.realPrice = realPrice;
    }

    public void setItemCount(int itemCount) {
        this.itemCount = itemCount;
    }

    public int getItemCount() {
        return itemCount;
    }

    public double getDiscountedPrice() {
        return discountedPrice;
    }

    public void setDiscountedPrice(double discountedPrice) {
        this.discountedPrice = discountedPrice;
    }

    public int getCanUseScore() {
        return canUseScore;
    }

    public void setCanUseScore(int canUseScore) {
        this.canUseScore = canUseScore;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getUserUuid() {
        return userUuid;
    }

    public void setUserUuid(String userUuid) {
        this.userUuid = userUuid;
    }

    public String getItemUuid() {
        return itemUuid;
    }

    public void setItemUuid(String itemUuid) {
        this.itemUuid = itemUuid;
    }


    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }


    public class ProductAttrEntity implements Serializable{
        private String attrKey;
        private String attrValue;

        public String getAttrKey() {
            return attrKey;
        }

        public void setAttrKey(String attrKey) {
            this.attrKey = attrKey;
        }

        public String getAttrValue() {
            return attrValue;
        }

        public void setAttrValue(String attrValue) {
            this.attrValue = attrValue;
        }
    }
}
